package quirk;

public class QueryWord {
  private boolean isInLine;
  private String text;
  
  public QueryWord(String text, boolean isInLine) {
    this.text = text;
    this.isInLine = isInLine;
  }
    
  public boolean isInLine() {
    return isInLine;
  }
  
  public boolean equals(Object obj) {
    return text.equals(obj);
  }
  
}
